package com.otp.webapp.comparators;

import java.util.Comparator;
import com.otp.model.test.template.TestTemplate;

public class CompTestTemplatesByObjectId implements Comparator<TestTemplate>{

	//@Override
	public int compare(TestTemplate tt1, TestTemplate tt2){
		int order1 = (int) (long) tt1.getObjectId();
		int order2 = (int) (long) tt2.getObjectId();
		return order1-order2;
	}

}
